import request from './request.js'

//获取APP启动引导图
export const guidepage = function(data){
	return request.APIRequest('/index/index_pic',data)
};
//启动时发送设备号(VIVO广告相关)
export const vivoopen = function(data){
	return request.APIRequest('/account/vivo_open',data)
};
/**
* @description  登录页
*/
//一键登录、验证码登录
export const logincode = function(data){
	return request.APIRequest('/index/login_code',data)
};
//微信登录
export const wxlogin = function(data){
	return request.APIRequest('/index/wx_login',data)
};
//绑定手机号
export const bindphone = function(data){
	return request.APIRequest('/index/bind_phone',data)
};
//发送验证码
export const getcode = function(data){
	return request.APIRequest('/index/get_code',data)
};
//绑定设备号
export const binddevice = function(data){
	return request.APIRequest('/index/bind_device',data)
};
//苹果登录
export const applelogin = function(data){
	return request.APIRequest('/my/apple_login',data)
};
//网页注册
export const registercode = function(data){
	return request.APIRequest('/index/register_code',data)
};
//首页滚动公告
export const rollnotice = function(data){
	return request.APIRequest('/index/roll_notice',data)
};
/**
* @description  首页
*/
//首页数据
export const getIndexInfo = function(data){
	return request.APIRequest('/index/get_index_info1',data)
};
//首页海报图
export const getIndexlogo = function(data){
	return request.APIRequest('/index/index_logo',data)
};
//盲盒列表
export const activityList = function(data){
	return request.APIRequest('/index/activity_list1',data)
};
//盲盒详情
export const activityDetail = function(data){
	return request.APIRequest('/index/activity_detail',data)
};
//更多盲盒
export const indexMoregoods = function(data){
	return request.APIRequest('/index/more_goods',data)
};
//推荐盲盒
export const indexRecommend = function(data){
	return request.APIRequest('/index/recommend1',data)
};
//预言商品界面
export const indexSelectpredict = function(data){
	return request.APIRequest('/index/select_predict',data)
};
//预言排行榜
export const indexPredictlist = function(data){
	return request.APIRequest('/index/predict_list',data)
};
//预言玩法介绍
export const indexPredictintroduce = function(data){
	return request.APIRequest('/index/predict_introduce',data)
};
//盲盒玩法规则
export const indexBlindboxrules = function(data){
	return request.APIRequest('/index/blindbox_rules',data)
};
//盲盒购买页面优惠券显示
export const indexCouponlist = function(data){
	return request.APIRequest('/index/coupon_list',data)
};
//盲盒购买界面信息
export const indexExtractboxa = function(data){
	return request.APIRequest('/index/extract_box_a',data)
};
//盲盒购买须知
export const blindboxpurchase = function(data){
	return request.APIRequest('/index/blindbox_purchase',data)
};
//购买盲盒（微信支付宝）
export const indexExtractboxb = function(data){
	return request.APIRequest('/index/extract_box_b',data)
};
//购买盲盒（心愿币支付）
export const indexExtractboxd = function(data){
	return request.APIRequest('/index/extract_box_d',data)
};
//抽取盲盒
export const indexExtractboxc = function(data){
	return request.APIRequest('/index/extract_box_c',data)
};
//盲盒重抽
export const indexAgainextract = function(data){
	return request.APIRequest('/index/again_extract',data)
};
//获取已付款待获取开盒结果的订单
export const paidorder = function(data){
	return request.APIRequest('/index/paid_order',data,'GET')
};
//获取可用的盲盒重抽卡
export const indexMyagaincoupon = function(data){
	return request.APIRequest('/index/my_again_coupon',data)
};
//试玩
export const indexTryonce = function(data){
	return request.APIRequest('/index/try_once',data)
};
//预言商品选择
export const indexSelectpredictgoods = function(data){
	return request.APIRequest('/index/select_predict_goods',data)
};
//盲盒活动能量buff和模拟概率
export const energy = function(data){
	return request.APIRequest('/index/energy',data)
};
//抽奖界面
export const lottery = function(data){
	return request.APIRequest('/index/lottery',data)
};
//抽奖
export const dolottery = function(data){
	return request.APIRequest('/index/do_lottery',data)
};
//增加抽奖记录
export const lotteryinsert = function(data){
	return request.APIRequest('/index/lottery_insert',data)
};
//抽奖说明
export const lotteryrule = function(data){
	return request.APIRequest('/index/lottery_rule',data)
};
//答疑列表
export const questionlist = function(data){
	return request.APIRequest('/sterm/question_list',data)
};
//答疑详情
export const questiondetail = function(data){
	return request.APIRequest('/sterm/question_detail',data)
};
//用户针对问题提交反馈
export const userspushquestion = function(data){
	return request.APIRequest('/sterm/users_push_question',data)
};
/**
* @description  盲盒
*/
//欧气榜
export const stermgoodlucklist = function(data){
	return request.APIRequest('/sterm/good_luck_list',data)
};
//吸欧气
export const stermair = function(data){
	return request.APIRequest('/sterm/air',data)
};
//欧气值变心愿币比例
export const stermairrate = function(data){
	return request.APIRequest('/sterm/air_rate',data)
};
//成就页面
export const achievementindex = function(data){
	return request.APIRequest('/sterm/achievement_index',data)
};
//成就盒子规则
export const achievementrule = function(data){
	return request.APIRequest('/sterm/achievement_rule',data)
};
//成就开盒
export const achievementget = function(data){
	return request.APIRequest('/sterm/achievement_get',data)
};
//成就开盒记录
export const boxrecord = function(data){
	return request.APIRequest('/sterm/box_record',data)
};
//盲盒支付提示
export const noticecontent = function(data){
	return request.APIRequest('/my/notice_content',data)
};
/**
* @description  商城
*/
//商城轮播图
export const shopbanner = function(data){
	return request.APIRequest('/shop/banner',data)
};
//普通商品分类列表
export const shopgoodscategory = function(data){
	return request.APIRequest('/shop/goods_category',data)
};
//商品列表
export const shopgoodslist = function(data){
	return request.APIRequest('/shop/goods_list',data)
};
//全部商品
export const shopallgoods = function(data){
	return request.APIRequest('/shop/all_goods',data)
};
//商品详情
export const shopgoodsdetail = function(data){
	return request.APIRequest('/shop/goods_detail',data)
};
//商品规格
export const shopgoodsspec = function(data){
	return request.APIRequest('/shop/goods_spec',data)
};
//获取普通商品下单页信息
export const shopbuygoodsa = function(data){
	return request.APIRequest('/shop/buy_goods_a',data)
};
//普通商品下单
export const shopbuygoodsb = function(data){
	return request.APIRequest('/shop/buy_goods_b',data)
};
//普通商品下单（金额为0）
export const shopbuygoodsc = function(data){
	return request.APIRequest('/shop/buy_goods_c',data)
};
//订单优惠券选择
export const shopcouponlist = function(data){
	return request.APIRequest('/shop/coupon_list',data)
};
//推荐普通商品
export const shoprecommendgoods = function(data){
	return request.APIRequest('/shop/recommend_goods',data)
};
//推荐积分商品
export const shoprecommendpgoods = function(data){
	return request.APIRequest('/shop/recommend_pgoods',data)
};
//积分商品详情
export const shoppgoodsdetail = function(data){
	return request.APIRequest('/shop/pgoods_detail',data)
};
//积分商品规格
export const shoppgoodsspec = function(data){
	return request.APIRequest('/shop/pgoods_spec',data)
};
//获取积分商品下单页信息
export const shopbuypgoodsa = function(data){
	return request.APIRequest('/shop/buy_pgoods_a',data)
};
//积分商品下单
export const shopbuypgoodsb = function(data){
	return request.APIRequest('/shop/buy_pgoods_b',data)
};
//积分商品下单（金额为0）
export const shopbuypgoodsc = function(data){
	return request.APIRequest('/shop/buy_pgoods_c',data)
};
/**
* @description  背包
*/
//背包列表
export const backpackindex = function(data){
	return request.APIRequest('/backpack/index',data)
};
//背包列表
export const backpackgoodslist = function(data){
	return request.APIRequest('/backpack/goods_list',data)
};
//回收商品
export const backpackrecycleinfo = function(data){
	return request.APIRequest('/backpack/recycle_info',data)
};
//回收券列表
export const backpackcouponlis = function(data){
	return request.APIRequest('/backpack/coupon_lis',data)
};
//回收列表
export const backpackrecyclelis = function(data){
	return request.APIRequest('/backpack/recycle_lis',data)
};
//回收
export const backpackrecycle = function(data){
	return request.APIRequest('/backpack/recycle',data)
};
//删除回收记录
export const backpackrecycledel = function(data){
	return request.APIRequest('/backpack/recycle_del',data)
};
//商品提货（页面）
export const backpackpicka = function(data){
	return request.APIRequest('/backpack/pick_a',data)
};
//商品提货（微信支付宝支付）
export const backpackpickb = function(data){
	return request.APIRequest('/backpack/pick_b',data)
};
//商品提货（只用心愿币支付）
export const backpackpickc = function(data){
	return request.APIRequest('/backpack/pick_c',data)
};
/**
* @description  我的
*/
//用户收货地址列表
export const addresslist = function(data){
	return request.APIRequest('/address/address_list',data)
};
//新增收货地址
export const addressadd = function(data){
	return request.APIRequest('/address/address_add',data)
};
//修改收货地址
export const addressedit = function(data){
	return request.APIRequest('/address/address_edit',data)
};
//删除地址
export const addressdel = function(data){
	return request.APIRequest('/address/address_del',data)
};
//修改地址默认状态
export const addressismaster = function(data){
	return request.APIRequest('/address/address_is_master',data)
};
//用户协议
export const servercontent = function(data){
	return request.APIRequest('/my/server_content',data)
};
//隐私政策
export const privacycontent = function(data){
	return request.APIRequest('/my/privacy_content',data)
};
//关于我们
export const aboutus = function(data){
	return request.APIRequest('/my/about_us',data)
};
//会员须知
export const memberintroduce = function(data){
	return request.APIRequest('/my/member_introduce',data)
};
//微信绑定
export const mywxbind = function(data){
	return request.APIRequest('/my/wx_bind',data)
};
//支付宝绑定
export const zfbindex = function(data){
	return request.APIRequest('/zfb/index',data)
};
//获取我的信息
export const myindex = function(data){
	return request.APIRequest('/my/index',data)
};
//领券中心
export const mycouponcenter = function(data){
	return request.APIRequest('/my/coupon_center',data)
};
//领取优惠券
export const mygetcoupon = function(data){
	return request.APIRequest('/my/get_coupon',data)
};
//优惠券、重抽卡数量
export const couponnum = function(data){
	return request.APIRequest('/index/my_coupon',data)
};
//优惠券列表
export const mycoupon = function(data){
	return request.APIRequest('/my/my_coupon',data)
};
//回收券列表
export const myrecycle = function(data){
	return request.APIRequest('/my/my_recycle',data)
};
//回收券使用规则
export const getcouponrule = function(data){
	return request.APIRequest('/my/get_coupon_rule',data)
};
//充值说明
export const rechargerule = function(data){
	return request.APIRequest('/my/recharge_rule',data)
};
//充值协议
export const rechargeaggrement = function(data){
	return request.APIRequest('/my/recharge_aggrement',data)
};
//基本信息-获取我的信息
export const mysettinuserinfo = function(data){
	return request.APIRequest('/my/setting_user_info',data)
};
//基本信息-修改我的信息
export const myupdateuserinfo = function(data){
	return request.APIRequest('/my/update_user_info',data)
};
//普通商品订单列表
export const orderbuylis = function(data){
	return request.APIRequest('/my/order_buy_lis',data)
};
//普通商品订单详情 
export const orderdetail = function(data){
	return request.APIRequest('/my/order_datail',data)
};
//取消订单
export const cancelorder = function(data){
	return request.APIRequest('/my/cancel_order',data)
};
//查看物流
export const wuliu = function(data){
	return request.APIRequest('/my/wuliu',data)
};
//退款 
export const refund = function(data){
	return request.APIRequest('/my/refund',data)
};
//确认收货 
export const confirm = function(data){
	return request.APIRequest('/my/confirm',data)
};
//删除订单 
export const delorder = function(data){
	return request.APIRequest('/my/del',data)
};
//我的重抽卡 
export const myagaincoupon = function(data){
	return request.APIRequest('/my/my_again_coupon',data)
};
//碎片列表 
export const sgoodslis = function(data){
	return request.APIRequest('/my/s_goods_lis',data)
};
//碎片详情 
export const sgoodsdetail = function(data){
	return request.APIRequest('/my/s_goods_detail',data)
};
//碎片合成（页面） 
export const sgoodscreatea = function(data){
	return request.APIRequest('/my/s_goods_create_a',data)
};
//碎片合成（支付） 
export const sgoodscreateb = function(data){
	return request.APIRequest('/my/s_goods_create_b',data)
};
//碎片合成（不需要额外支付的）
export const sgoodscreatec = function(data){
	return request.APIRequest('/my/s_goods_create_c',data)
};
//充值会员（界面）
export const becomemembera = function(data){
	return request.APIRequest('/my/become_member_a',data)
};
//充值会员（操作）
export const becomememberb = function(data){
	return request.APIRequest('/my/become_member_b',data)
};
//我的钱包（页面）
export const mywalletindex = function(data){
	return request.APIRequest('/my/my_wallet_index',data)
};
//我的钱包（充值页面）
export const mywalletrechargea = function(data){
	return request.APIRequest('/my/my_wallet_recharge_a',data)
};
//我的钱包（充值操作旧）
export const mywalletrechargeb = function(data){
	return request.APIRequest('/my/my_wallet_recharge_b',data)
};
//我的钱包（列表+公告+会员额外心愿币加成比例）
export const rechargecoin = function(data){
	return request.APIRequest('/my/recharge_coin',data)
};
//我的钱包（充值操作新）
export const mywalletrechargecoin = function(data){
	return request.APIRequest('/my/my_wallet_recharge_coin',data)
};
//我的钱包（流水）
export const mywalletlis = function(data){
	return request.APIRequest('/my/my_wallet_lis',data)
};
//我的积分流水
export const mypointlis = function(data){
	return request.APIRequest('/my/my_point_lis',data)
};
//反馈
export const feedback = function(data){
	return request.APIRequest('/my/feedback',data)
};
//消息列表
export const messagelis = function(data){
	return request.APIRequest('/my/message_lis',data)
};
//消息详情
export const messagedetail = function(data){
	return request.APIRequest('/my/message_detail',data)
};
//消息全部已读
export const allread = function(data){
	return request.APIRequest('/my/all_read',data)
};
//消息清空 
export const allclear = function(data){
	return request.APIRequest('/my/all_clear',data)
};
//推广中心 
export const sharesharelis = function(data){
	return request.APIRequest('/share/share_lis',data)
};
//我的团队 
export const sharemypeople = function(data){
	return request.APIRequest('/share/my_people',data)
};
//收益记录 
export const sharerecord = function(data){
	return request.APIRequest('/share/record',data)
};
//转账 
export const sharetransfer = function(data){
	return request.APIRequest('/share/transfer',data)
};
//推广信息 
export const sharecreateposter = function(data){
	return request.APIRequest('/share/create_poster',data)
};
//推广规则
export const share_rule = function(data){
	return request.APIRequest('/my/share_rule',data)
};
//提现 
export const sharewithdraw = function(data){
	return request.APIRequest('/share/withdraw',data)
};
//提现明细
export const sharewithdrawlis = function(data){
	return request.APIRequest('/share/withdraw_lis',data)
};
//提现须知
export const withdrawrule = function(data){
	return request.APIRequest('/my/withdraw_rule',data)
};
//分享次数加一
export const membershare = function(data){
	return request.APIRequest('/my/member_share',data)
};
//后台设置
export const baseset = function(data){
	return request.APIRequest('/index/base_set',data)
};
//抽奖接口
export const activity_list_index = function(data){
	return request.APIRequest('/index/activity_list_index',data)
};

// 赠送人员列表
export const activity_liveone = function(data){
 return request.APIRequest('/index/liveone',data)
};
// 赠送
export const backpackChangegoods = function(data){
 return request.APIRequest('/backpack/changegoods',data)
};


// 判断分享
export const shareInfo = function(data){
 return request.APIRequest('/index/is_fen',data)
};


